Class com.symantec.itools.vcafe.openapi.event.VisualMenuEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.vcafe.openapi.event.VisualMenuEvent

Object
   |
   +----EventObject
           |
           +----AWTEvent
                   |
                   +----com.symantec.itools.vcafe.openapi.event.VisualMenuEvent

public class VisualMenuEvent
extends AWTEvent
The API used to recieve menu events in Visual Cafe.

Version:
1.0
Author:
Symantec Internet Tools Division
Since:
VCafe 3.0
See Also:
VisualMenuListener

Variable Index

 o MENU_OPENING
The menu opening event type.

Constructor Index

 o com.symantec.itools.vcafe.openapi.event.VisualMenuEvent(Menu, int, Vector)
Constructs a VisualMenuEvent object with the specified source menu, type and the current selection (if any)

Method Index

 o getMenu()
Returns the menu where this event originated.
 o getSelection()
Returns the list of currently selected items
 o paramString()

Variables

 o MENU_OPENING
public static final int MENU_OPENING
The menu opening event type. This event is delivered before a menu is opened or made visible

Constructors

 o VisualMenuEvent
public VisualMenuEvent(Menu source,
                       int id,
                       Vector selection)
Constructs a VisualMenuEvent object with the specified source menu, type and the current selection (if any)

Parameters:
source - the menu where the event originated
id - the event type
selection - the list of items currently selected

Methods

 o getMenu
public java.awt.Menu getMenu()
Returns the menu where this event originated.

 o getSelection
public java.util.Vector getSelection()
Returns the list of currently selected items

 o paramString
public java.lang.String paramString()
Overrides:
paramString in class AWTEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index